/* ===== 合规认证 ===== */
.certification-section {
    padding: 2.5rem 1.5rem 3rem;
    background: #f5f7fa;
    text-align: center;
}
.certification-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}
.certification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: default;
}
.certification-item img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    display: block;
}
.certification-item span {
    font-size: 0.75rem;
    color: #667085;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== 官网动态 ===== */
.news-section {
    padding: 2.5rem 1.5rem 3rem;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}
.news-header {
    text-align: center;
    margin-bottom: 1.8rem;
}
.news-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}
.news-subtitle {
    font-size: 0.95rem;
    color: #667085;
    line-height: 1.7;
}
.news-more {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    margin-left: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
.news-more:hover {
    color: #1a4cff;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.news-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.1rem;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    border-color: rgba(59, 130, 246, 0.15);
}
.news-item:active {
    transform: scale(0.98);
}
.news-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e2fc 100%);
    border-radius: 4px;
}
.news-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: #3b82f6;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.news-text {
    flex: 1;
    font-size: 1rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.news-arrow {
    color: #999;
    font-size: 1.2rem;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.news-item:hover .news-arrow {
    color: #3b82f6;
    transform: translateX(2px);
}
.news-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 3rem 1rem;
    color: #667085;
    font-size: 0.95rem;
}
.news-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: newsSpin 0.8s linear infinite;
}
@keyframes newsSpin {
    to { transform: rotate(360deg); }
}
.news-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #667085;
    font-size: 0.95rem;
}

/* ============================================================
   PC端响应式 (>=1024px)
   ============================================================ */
@media (min-width: 1024px) {
    .certification-section {
        padding: 3rem 2rem 3.5rem;
    }
    .certification-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    .certification-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }
    .certification-item img {
        width: 6.25rem;
        height: 6.25rem;
    }
    .certification-item span {
        font-size: 0.8rem;
    }

    .news-section {
        padding: 3rem 2rem 3.5rem;
    }
    .news-title {
        font-size: 1.8rem;
    }
    .news-subtitle {
        font-size: 1rem;
    }
    .news-list {
        flex-direction: row;
        gap: 1.2rem;
    }
    .news-item {
        flex: 1;
        padding: 1.5rem 1.3rem;
    }
    .news-icon {
        width: 3rem;
        height: 3rem;
        margin-right: 1.2rem;
    }
    .news-icon svg {
        width: 1.4rem;
        height: 1.4rem;
    }
    .news-text {
        font-size: 1.05rem;
    }
}

/* ============================================================
   平板端 (768px - 1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .certification-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
    .certification-item img {
        width: 4.5rem;
        height: 4.5rem;
    }
    .certification-item span {
        font-size: 0.7rem;
    }

    .news-list {
        flex-direction: row;
        gap: 1rem;
    }
    .news-item {
        flex: 1;
        padding: 1rem 0.9rem;
    }
}

/* ============================================================
   移动端 (<=767px)
   ============================================================ */
@media (max-width: 767px) {
    .certification-section {
        padding: 2rem 1rem 2.5rem;
    }
    .certification-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    .certification-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .certification-item img {
        width: 4rem;
        height: 4rem;
    }
    .certification-item span {
        font-size: 0.7rem;
    }

    .news-section {
        padding: 2rem 1rem 2.5rem;
    }
    .news-title {
        font-size: 1.4rem;
    }
    .news-subtitle {
        font-size: 0.85rem;
    }
    .news-item {
        padding: 1rem 0.9rem;
    }
    .news-icon {
        width: 2.2rem;
        height: 2.2rem;
        margin-right: 0.8rem;
    }
    .news-icon svg {
        width: 1.1rem;
        height: 1.1rem;
    }
    .news-text {
        font-size: 0.95rem;
    }
}

/* ============================================================
   减少动画
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .news-item {
        transition: none;
    }
    .news-item:hover {
        transform: none;
    }
    .news-spinner {
        animation: none;
    }
    .news-arrow {
        transition: none;
    }
}
